package net.zjitc.dao;

import net.zjitc.pojp.CateGory;
import net.zjitc.pojp.CateGorySecond;

import java.util.List;

/**
 * Created by lenovo on 2017/11/15.
 */
public interface AdminCateGorySecondDao {
    List<CateGorySecond> findAll();

    int insert(CateGorySecond cateGorySecond);

    CateGorySecond findByCSid(String csid);

    int update(CateGorySecond cateGorySecond);

    List<CateGorySecond> findByCid(int cid);
}
